package edu.dk.service;


import javax.jws.WebService;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;

/**
 * User: ${ANMA0808}
 * Date: 06.04.11
 * Time: 12:18
 */
@WebService
public class Client {

	public void handle(String location) throws Exception {
		URL url = new URL(location);
		HttpURLConnection connection = (HttpURLConnection) url.openConnection();
		connection.setRequestMethod("POST");
		// Get result
		InputStream is = connection.getInputStream();
		System.out.println("AAA");
	}

}
